package com.project.bean;

import java.time.LocalDate;

/**
 * 用户登录日志实体类
 */
public class LogUserBean {
    /**日志id*/
    private int id;
    /**尝试登录日期*/
    private LocalDate loginDate = LocalDate.now();
    /**登录情况的记录详细*/
    private String loginInfo;

    public LogUserBean() {
    }

    public LogUserBean(String loginInfo) {
        this.loginInfo = loginInfo;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public LocalDate getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(LocalDate loginDate) {
        this.loginDate = loginDate;
    }

    public String getLoginInfo() {
        return loginInfo;
    }

    public void setLoginInfo(String loginInfo) {
        this.loginInfo = loginInfo;
    }

    @Override
    public String toString() {
        return "LogUserBean{" +
                "loginDate=" + loginDate +
                ", loginResult='" + loginInfo + '\'' +
                '}';
    }
}
